package org.zzz.entity;

import java.util.Date;

/**
 * @Author ZZF
 * @Time 2021/04/20 21:54
 * 考勤表
 */
public class Attendance {
    //考勤id
    private String id;
    //学生学号
    private String sid;
    //课程id
    private String cid;
    //考勤时间
    private String time;
    //考勤状态
    private String status;
    //教师id
    private String teacherId;

    public Attendance() {
    }

    public Attendance(String id, String sid, String cid, String time, String status, String teacherId) {
        this.id = id;
        this.sid = sid;
        this.cid = cid;
        this.time = time;
        this.status = status;
        this.teacherId = teacherId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    @Override
    public String toString() {
        return "Attendance{" +
                "id='" + id + '\'' +
                ", sid='" + sid + '\'' +
                ", cid='" + cid + '\'' +
                ", time=" + time +
                ", status='" + status + '\'' +
                ", teacherId='" + teacherId + '\'' +
                '}';
    }
}
